package com.phrp.service;

import com.phrp.entity.ManagerUser;
import com.phrp.entity.vo.ManagerUserSearchDataVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.phrp.util.returnResult.ResponseResult;

import java.util.LinkedList;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ssc
 * @since 2024-04-06
 */
public interface ManagerUserService extends IService<ManagerUser> {

    ResponseResult<ManagerUser> personMessage();

    ManagerUser getByPhone(String userID);

    ResponseResult tokenCheck();

    ResponseResult changeMessage(ManagerUser mUser);

    ResponseResult changePwd(ManagerUser message);

    ResponseResult searchManagerUsers(ManagerUserSearchDataVo searchData);

    ResponseResult resetPassword(LinkedList<ManagerUser> managerUsers);

    ResponseResult changePosition(String id, String position);

    ResponseResult deleteManagerUser(LinkedList<String> ids);

    ResponseResult addManagerUser(ManagerUser managerUser);

    ResponseResult updateStatus(String id, String status);

    ResponseResult getInspector(ManagerUserSearchDataVo inspectorSearch);

}
